import request from '@/utils/request'

export function GetCla () {
    return request({
        url: 'api/query/classAll',
        method: 'post'
    })
}

export function GetNoCla (data) {
    return request({
        url: 'api/query/classNo',
        method: 'post',
        data
    })
}

export function GetNameCla (data) {
    return request({
        url: 'api/query/className',
        method: 'post',
        data
    })
}

export function AddCla (data) {
    return request({
        url: 'api/insert/class',
        method: 'post',
        data
    })
}

export function DelCla (data) {
    return request({
        url: 'api/delete/class',
        method: 'post',
        data
    })
}

export function SetCla (data) {
    return request({
        url: 'api/update/major',
        method: 'post',
        data
    })
}
